package com.example.demo.enums;

/**
 * @Desc 模糊查询匹配规则
 * @Author zhengmf
 * @Date 2019-12-18 15:17:11
 */
public enum MatchRuleEnum {
    /**
     * 模糊匹配
     */
    ALL_MATCH(0,"模糊匹配"),
    /**
     * 左匹配
     */
    LEFT_MATCH(1,"左匹配"),
    /**
     * 右匹配
     */
    RIGHT_MATCH(2,"右匹配"),
    /**
     * 精确匹配
     */
    EXACT_MATCH(3,"精确匹配");

    private Integer value;
    private String desc;

    MatchRuleEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }
}
